package com.cskaoyan.controller;

import com.cskaoyan.bean.vo.BaseRespVo;
import com.cskaoyan.service.WxAuthServiceZGY;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
//@RequestMapping("wx/auth/")
public class WxAuthControllerZGY {

    @Autowired
    WxAuthServiceZGY authService;


    /**
     * 注册时，发送验证码
     */
  //  @PostMapping("regCaptcha")
    public BaseRespVo regCaptcha(@RequestBody Map<String,String> map){

        String mobile = map.get("mobile");
//        authService.verificationCode();

        return BaseRespVo.success();
    }

}
